package com.jxc.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Staff entity. @author MyEclipse Persistence Tools
 */

public class Staff implements java.io.Serializable {

	// Fields

	private Integer id;
	private String sn;
	private String pwd;
	private String department;
	private String post;
	private String sex;
	private Integer age;
	private String telephone;
	private String address;
	private Integer zipcode;
	private String fax;
	private String name;
	private Set purchases = new HashSet(0);
	private Set staffandmodules = new HashSet(0);
	private Set storages = new HashSet(0);
	private Set libraries = new HashSet(0);
	private Set inquiries = new HashSet(0);
	private Set transports = new HashSet(0);
	private Set tracs = new HashSet(0);

	// Constructors

	/** default constructor */
	public Staff() {
	}

	/** full constructor */
	public Staff(String sn, String pwd, String department, String post,
			String sex, Integer age, String telephone, String address,
			Integer zipcode, String fax, String name, Set purchases,
			Set staffandmodules, Set storages, Set libraries, Set inquiries,
			Set transports, Set tracs) {
		this.sn = sn;
		this.pwd = pwd;
		this.department = department;
		this.post = post;
		this.sex = sex;
		this.age = age;
		this.telephone = telephone;
		this.address = address;
		this.zipcode = zipcode;
		this.fax = fax;
		this.name = name;
		this.purchases = purchases;
		this.staffandmodules = staffandmodules;
		this.storages = storages;
		this.libraries = libraries;
		this.inquiries = inquiries;
		this.transports = transports;
		this.tracs = tracs;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getPost() {
		return this.post;
	}

	public void setPost(String post) {
		this.post = post;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getZipcode() {
		return this.zipcode;
	}

	public void setZipcode(Integer zipcode) {
		this.zipcode = zipcode;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getPurchases() {
		return this.purchases;
	}

	public void setPurchases(Set purchases) {
		this.purchases = purchases;
	}

	public Set getStaffandmodules() {
		return this.staffandmodules;
	}

	public void setStaffandmodules(Set staffandmodules) {
		this.staffandmodules = staffandmodules;
	}

	public Set getStorages() {
		return this.storages;
	}

	public void setStorages(Set storages) {
		this.storages = storages;
	}

	public Set getLibraries() {
		return this.libraries;
	}

	public void setLibraries(Set libraries) {
		this.libraries = libraries;
	}

	public Set getInquiries() {
		return this.inquiries;
	}

	public void setInquiries(Set inquiries) {
		this.inquiries = inquiries;
	}

	public Set getTransports() {
		return this.transports;
	}

	public void setTransports(Set transports) {
		this.transports = transports;
	}

	public Set getTracs() {
		return this.tracs;
	}

	public void setTracs(Set tracs) {
		this.tracs = tracs;
	}

}